package com.lysj.bhp.api.base;



import com.lysj.bhp.activity.repository.ActivityRepository;
import com.lysj.bhp.announcement.repository.AnnouncementRepository;
import com.lysj.bhp.api.controller.ApiWithdrawAddressController;
import com.lysj.bhp.coinexchange.service.ExchangeBhpcBounsService;
import com.lysj.bhp.exchangerate.domain.ExchangeRate;
import com.lysj.bhp.financial.repository.FinancialRepository;
import com.lysj.bhp.financial.repository.UserEarningsRepository;
import com.lysj.bhp.financial.repository.UserFinancialRecordRepository;
import com.lysj.bhp.financial.service.FinancialPurchaseService;
import com.lysj.bhp.supernode.service.ApiSuperNodeService;
import com.lysj.bhp.article.repository.ArticleRepository;
import com.lysj.bhp.coinexchange.repository.BhpcRecordRepository;
import com.lysj.bhp.coinexchange.service.ApplyService;
import com.lysj.bhp.exchangerate.service.ExchangeRateService;
import com.lysj.bhp.investment.repository.DividendRepository;
import com.lysj.bhp.supernode.repository.SuperNodeRepository;
import com.lysj.bhp.supernode.repository.SuperNodeUserRepository;
import com.lysj.bhp.system.repository.VerifyEmailRepository;
import com.lysj.bhp.system.repository.VerifyRepository;
import com.lysj.bhp.system.service.IpRecordService;
import com.lysj.bhp.wallet.base.WalletContent;
import com.lysj.bhp.wallet.controller.BhpcWalletController;
import com.lysj.bhp.wallet.controller.BitcoinWalletController;
import com.lysj.bhp.wallet.controller.EthereumWalletController;
import com.lysj.bhp.withdraw.repository.PoundageRepository;
import com.lysj.bhp.withdraw.repository.WithDrawAddressRepository;
import com.lysj.bhp.withdraw.repository.WithdrawRepository;

import javax.annotation.Resource;
import javax.annotation.Resources;

public class ApiContent extends WalletContent {
    protected static long min=1000*60*5;
    protected static long max=1000*60*10;

    @Resource
    protected WithdrawRepository withdrawRepository;
    @Resource
    protected BhpcRecordRepository bhpcRecordRepository;
    @Resource
    protected WithDrawAddressRepository withDrawAddressRepository;
    @Resource
    protected VerifyRepository verifyRepository;
    @Resource
    protected VerifyEmailRepository verifyEmailRepository;
    @Resource
    protected ActivityRepository activityRepository;
    @Resource
    protected AnnouncementRepository announcementRepository;
    @Resource
    protected ArticleRepository articleRepository;
    @Resource
    protected DividendRepository dividendRepository;
    @Resource
    protected PoundageRepository poundageRepository;
    @Resource
    protected SuperNodeUserRepository superNodeUserRepository;
    @Resource
    protected SuperNodeRepository superNodeRepository;
    @Resource
    protected UserFinancialRecordRepository userFinancialRecordRepository;
    @Resource
    protected UserEarningsRepository userEarningsRepository;
    @Resource
    protected FinancialRepository financialRepository;

    @Resource
    protected ApplyService applyService;
    @Resource
    protected IpRecordService ipRecordService;
    @Resource
    protected ApiSuperNodeService apiSuperNodeService;
    @Resource
    protected ExchangeBhpcBounsService exchangeBhpcBounsService;
    @Resource
    protected FinancialPurchaseService financialPurchaseService;

    @Resource
    protected BitcoinWalletController bitcoinWalletController;
    @Resource
    protected EthereumWalletController ethereumWalletController;
    @Resource
    protected BhpcWalletController bhpcWalletController;
    @Resource
    protected ApiWithdrawAddressController apiWithdrawAddressController;
    @Resource
    protected ExchangeRateService exchangeRateService = new ExchangeRateService();

    protected ExchangeRate exchangeRate = ExchangeRate.getInstance();
}
